package com.coolwen.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by user on 2016/7/8.
 */
public class DateUtil {
    private static final String dateFormat = "yyyy/MM/dd HH:mm";
    private static final String dateFormatPic = "yyyyMMddHHmm";
    private static final SimpleDateFormat sdf = new SimpleDateFormat(dateFormat);

    public static String formatDate(Date date) {
        return sdf.format(date);
    }
}
